<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Serves\TestServe;

class TestController extends Controller
{
    public function test(Request $request, $catid){
        if(!empty($catid)){
            $goods = TestServe::getGoodsByCatid($catid);
            var_dump($goods);
        }


    }




}
